import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { PipeComponent} from '../pages/pipe/pipe_component';
import {RouteComponent} from '../pages/route/route_compoent';
import {AppRouteModule} from './route.module';
import {ShareModule} from './share.module';


// const appRoutes : Routes = [
//  {path:'pipe',component:DatePipeComponent},
//   {path:'route',component:RouteComponent}
// ] ;

@NgModule({
  declarations: [
    AppComponent, PipeComponent,RouteComponent
  ],
  imports: [
    BrowserModule,AppRouteModule,ShareModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
